//
//  HMMessageViewController.swift
//  HMWeibo12
//
//  Created by iOS on 16/9/16.
//  Copyright © 2016年 iOS. All rights reserved.
//

import UIKit

class HMMessageViewController: HMBaseViewController {
    
    let items = ["a", "b", "c", "d", "e", "f", "g", "h"]
    
    override func viewDidLoad() {
        super.viewDidLoad()

        tableView.register(UITableViewCell.self, forCellReuseIdentifier: "cell")
    }
    
    override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        return items.count
    }
    
    override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCell(withIdentifier: "cell", for: indexPath)
        
        cell.textLabel?.text = items[indexPath.row]
        
        return cell
    }

}
